[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PCBNODE() (INTEGER)

 Function
  Return the current node number.

 Syntax
  PCBNODE()   No arguments are required

 Return Type & Value
  INTEGER
  Returns the node number for the current node.

 Remarks
  You may have need to know what node is in use for certain applications
  (for example, to create temporary files with unique names or to restrict
  features to a particular node or nodes).  This function will return a
  number from 1 to the maximum number of nodes allowed with a given copy
  of PCBoard.  Note that the node number may not be what is defined in
  PCBOARD.DAT if the /FLOAT or /NODE switches are used.

 Examples
  STRING file
  LET file = "TMP"+STRING(PCBNODE())+".$$$"
  DELETE file

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson